@extends('Admin.layout.layout')
@section('title')
    <title>Love178官网 线下捐款添加</title>
@endsection
@section('con')
            <div class="row">
                <div class="col-lg-12">
                    <h1 class="page-header">捐款添加</h1>
                </div>
                <!-- /.col-lg-12 -->
            </div>
            <!-- /.row -->
            <div class="row">
                <div class="col-lg-12">
                    <div class="panel panel-default">
                        
                        <div class="panel-body">
                            <div class="row">
                                @if (count($errors) > 0)
								    <div class="alert alert-danger">
								        <ul>
								            @foreach ($errors->all() as $error)
								                <li>{{ $error }}</li>
								            @endforeach
								        </ul>
								    </div>
								@endif
                                <div class="col-lg-6 col-lg-offset-3">

                                    <form role="form" action="{{'/admin/loveuser/insert'}}" method="post" enctype="multipart/form-data">
                                        <div class="form-group">
                                            <label>捐款人姓名</label>
                                            <input class="form-control" name="username" >                                            
                                        </div>
                                        <div class="form-group">
                                            <label>捐款金额</label>
                                            <input class="form-control" type="text" name="account" >                                 
                                        </div>
                                        <div class="form-group">
                                            <label>捐款人电话</label>
                                            <input class="form-control" type="text" name="phone" >                                            
                                        </div>
                                       
                                        {{ csrf_field() }}
                                        <button class="btn btn-Primary" type="submit">添加</button>
                                        <button class="btn btn-danger" type="reset">重置</button>
                                    </form>
                                </div>
                                
                            </div>
                            <!-- /.row (nested) -->
                        </div>
                        <!-- /.panel-body -->
                    </div>
                    <!-- /.panel -->
                </div>
                <!-- /.col-lg-12 -->
            </div>
            
@endsection